import VueRouter from 'vue-router'
import Vue from 'vue'
import My from '@/views/My.vue'
import Find from '@/views/Find.vue'
import Friend from '@/views/Friend.vue'

Vue.use(VueRouter)

const router = new VueRouter({
  routes:[
    { path:'/friend',component:Friend },
    { path:'/find',component:Find },
    { path:'/my',component:My}
  ]
})

export default router